#ifndef LEFTPANEL_H
#define LEFTPANEL_H

#include <hge.h>
#include <hgefont.h>
#include <hgeresource.h>
#include <hgegui.h>
#include "hgeVector.h"
#include <hgesprite.h>
class leftPanel
{
 private:
 public:
	 leftPanel(HGE * _hge);
	 int setNumber;
	 float x,y;
	 int TileNumber;
	 int SGridX,SGridY;
	 bool buttonStatus;

	 hgeSprite * tileset[5];
	 float mainX_Position;
	 float mainY_Position;
	  bool SelectTile(float _mouseX,float _mouseY,float tileSize);
	  bool selectTileOnTileSet();
	   bool DrawLines(HGE * _hge);
	   bool getTileValue(int _x,int _y,int tSize,HGE * _hge);
	 bool addMainField(float _mainX_Position,float _mainY_Position,hgeSprite mainFieldSprite);
	 bool addButton();
	 bool addLabel();
	 bool addEditBox();
	 bool addTab();
	 bool addSlider();
	 bool addSelectBox();
     bool addGridToField(int _HEIGHT,int _WIDTH,HGE * _hge);
     bool DrawTileSet(int setNumber);	
	 bool changeTileSet(bool next);

	 float mouseX;
     float mouseY;
	  int GridX,GridY;

	 

	 ~leftPanel();
};

#endif